import { IFeidaoAiBrowserComponent } from '@feidao/web/interfaces';
import set_node_cls from '@feidao/web/atom/browser/ui/set-node-cls';

export default async function a001(fd: IFeidaoAiBrowserComponent, ...args: any[]) {
	// 关闭
	set_node_cls(fd.data.node, 'display-n', true);
	// 清除已经输入的信息
	fd.data.node.querySelector<HTMLInputElement>('[data-feidao-id="exam_name"]').value = '';
	fd.data.node.querySelector<HTMLInputElement>('[data-feidao-id="start_time"]').value = '';
	fd.data.node.querySelector<HTMLInputElement>('[data-feidao-id="end_time"]').value = '';
	fd.data.node.querySelector<HTMLInputElement>('[data-feidao-id="am_start_time"]').value = '';
	fd.data.node.querySelector<HTMLInputElement>('[data-feidao-id="pm_start_time"]').value = '';

}
